<template>
  <el-config-provider :locale="zhCn">
    <router-view v-slot="{ Component }">
      <component :is="Component" />
    </router-view>
  </el-config-provider>
</template>

<script setup>
import { ElConfigProvider } from "element-plus";
import zhCn from "element-plus/es/locale/lang/zh-cn";
</script>

<style lang="scss" >
#app {
  min-height: 100vh; /* 确保高度至少为视口高度 */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
</style>